package com.wcar.system.feign;

import com.wcar.common.entity.LoginLog;
import com.wcar.common.vo.Result;
import com.wcar.system.feign.factory.UserFeignFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "wcar-user",fallbackFactory = UserFeignFactory.class)
public interface WcarUserFeign {
    @PostMapping("/user/addLoginLog")
    public Result<Integer> addLoginLog(@RequestBody LoginLog user);

}
